package com.example.courseorder.service;


import com.example.courseorder.domain.Course;
import com.example.courseorder.repository.impl.CourseDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class CourseService {
    @Resource
    private CourseDao courseDao;
    public Iterable<Course> findAll() {
        return courseDao.findAll();
    }
}
